package com.itheima.assemble;

import java.util.List;

public class Teacher {
	private int tid;
	private String tname;
	private Integer tage;
	private Integer tphone;
	
	
	public void setTid(int tid) {
		this.tid = tid;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public void setTage(Integer tage) {
		this.tage = tage;
	}
	public void setTphone(Integer tphone) {
		this.tphone = tphone;
	}
	
	
	
	
	public Teacher(int tid, String tname, Integer tage, Integer tphone ) {
		super();
		this.tid = tid;
		this.tname = tname;
		this.tage = tage;
		this.tphone = tphone;
	}
	
	public Teacher(){
		super();
	}
	
	
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "Teacher"+tid+"\ntid="+tid+",tname="+tname+",tage="+tage+",tphone="+tphone+"";
	}
	
	
}
